package com.patterns.demo.interpreter;

/**
 * Author: SamGroves
 * <p>
 * Description:
 * <p>
 * Date: 2017/12/21
 */
public class Test {

    public static void main(String[] args) {

        int plus = new Plus().interpret(new Context(1, 2));

        int minus = new Minus().interpret(new Context(1, 2));

        System.out.println("1 and 2 plus = " + plus + " minus = " + minus );

    }
}
